package com.service.admin.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.admin.admin.controller.request.RoleMenuReq;
import com.service.admin.admin.controller.request.RoleReq;
import com.service.dao.model.SysRole;

import java.util.List;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年08月02日</dd>
 * </dl>
 *
 * @author
 */
public interface SysRoleService extends IService<SysRole> {


    List<Integer> getMenusIdByRid(Integer rid);

    List<SysRole> listSysRole();

    void saveRole(RoleReq roleReq);

    void saveRoleMenu(RoleMenuReq roleMenuReq);

    void deleteRole(Integer roleId);
}
